// Dashboard 1 Morris-chart

Morris.Area({
    element: 'morris-area-chart',
    data: [{
        period: '一月',
        mobile: 0,
        pc: 0,
        unknown: 0
    }, {
        period: '二月',
        mobile: 100,
        pc: 80,
        unknown: 65
    }, {
        period: '三月',
        mobile: 180,
        pc: 150,
        unknown: 120
    }, {
        period: '四月',
        mobile: 100,
        pc: 70,
        unknown: 40
    }, {
        period: '五月',
        mobile: 180,
        pc: 150,
        unknown: 120
    }, {
        period: '六月',
        mobile: 100,
        pc: 70,
        unknown: 40
    }, {
        period: '八月',
        mobile:60,
        pc: 70,
        unknown: 30
    }, {
        period: '九月',
        mobile: 80,
        pc: 40,
        unknown: 23
    }, {
        period: '十月',
        mobile: 40,
        pc: 30,
        unknown: 120
    }, {
        period: '十一月',
        mobile: 80,
        pc: 150,
        unknown: 120
    }, {
        period: '十二月',
        mobile: 180,
        pc: 130,
        unknown: 120
    }],
    xkey: 'period',
    ykeys: ['mobile', 'pc', 'unknown'],
    labels: ['mobile', 'pc', 'unknown'],
    pointSize: 0,
    fillOpacity: 0.99,
    parseTime: false,
    pointStrokeColors: ['#006DF0','#65b12d','#933EC5'],
    behaveLikeLine: true,
    gridLineColor: '#e0e0e0',
    lineWidth: 0,
    hideHover: 'auto',
    lineColors: ['#006DF0','#65b12d','#933EC5'],
    resize: true

});

// Morris.Area({
//     element: 'extra-area-chart',
//     data: [{
//         period: '2010',
//         CSE: 50,
//         Accounting: 80,
//         Electrical: 20
//     }, {
//         period: '2011',
//         CSE: 130,
//         Accounting: 100,
//         Electrical: 80
//     }, {
//         period: '2012',
//         CSE: 80,
//         Accounting: 60,
//         Electrical: 70
//     }, {
//         period: '2013',
//         CSE: 70,
//         Accounting: 200,
//         Electrical: 140
//     }, {
//         period: '2014',
//         CSE: 180,
//         Accounting: 150,
//         Electrical: 140
//     }, {
//         period: '2015',
//         CSE: 105,
//         Accounting: 100,
//         Electrical: 80
//     },
//         {
//             period: '2016',
//             CSE: 250,
//             Accounting: 150,
//             Electrical: 200
//         }],
//     xkey: 'period',
//     ykeys: ['CSE', 'Accounting', 'Electrical'],
//     labels: ['CSE', 'Accounting', 'Electrical'],
//     pointSize:3,
//     fillOpacity: 0,
//     pointStrokeColors: ['#006DF0', '#933EC5', '#65b12d'],
//     behaveLikeLine: true,
//     gridLineColor: '#e0e0e0',
//     lineWidth: 1,
//     hideHover: 'auto',
//     lineColors: ['#006DF0', '#933EC5', '#65b12d'],
//     resize: true

// });